WCBoost\ProductsCompare\Frontend B

Total Complexity 86
Dependencies 2
Dependents 3
Total lines 613
Lines of code 382
Logical lines of code 198
Comment lines 150
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
field_content()
B
36 22 76
get_button_template_args()
A
43 10 47
get_compare_fields()
A
45 8 40
enqueue_scripts()
S
50 5 26
compare_content()
S
53 5 21
compare_button_open()
S
53 4 24
compare_button_clear()
S
55 3 21
template_hooks()
S
57 3 15
compare_bar()
S
53 2 26
compare_popup()
S
56 2 22
add_nocache_headers()
S
73 3 5
compare_field_content()
S
69 3 6
compare_footer()
S
66 3 10
print_notices()
S
75 2 5
body_class()
S
69 2 7
get_element_class_name()
S
78 2 3
add_noindex_robots()
S
71 2 6
instance()
S
72 2 6
single_add_to_compare_button()
S
71 1 5
loop_add_to_compare_button()
S
71 1 5
__construct()
S
69 1 6